ThumbnailXpress 6 for ActiveX - User Guide > How To > Navigate Thumbnails > Navigate Programmatically |
Scrolling the thumbnail control can be controlled programmatically by calling the ScrollItems method to specify the scrolling action and magnitude. The view changes to reflect the requested scrolling. Alternatively, call EnsureVisible to programmatically scroll the thumbnail control until a specified thumbnail is in view.
Individual thumbnails can be selected programmatically by calling the SelectItem method and specifying the thumbnail to select. The SelectedItemCount reflects the number of thumbnails that have been selected, both programmatically as well as by end-user. The ClearSelection method restores all thumbnails to an unselected state. DeleteSelectedItem is called to delete a selected item.